package cc.sunni.article.mapper;

import cc.sunni.pojo.Comments;
import cc.sunni.pojo.vo.CommentsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 文章评论表
 * 
 * @author jl
 * @since 2021-02-19 23:34:35
 */
@Mapper
public interface CommentsDao extends BaseMapper<Comments> {

    /**
     * 查询文章评论
     */
    List<CommentsVO> queryArticleCommentList(Page<CommentsVO> page, @Param("paramMap") Map<String, Object> map);
	
}
